<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>业务表单</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript">
        var loginUserName = '${loginUser.name}';
        var loginUserId = '${loginUser.id}'
    </script>
    <SCRIPT src="${ctx}/resources/js/accidentEvent/osha/leak/add.js" type="text/javascript"></SCRIPT>
    <style type="text/css">
        .osha_table {
            margin: 0 auto;
            width: 95%;
            border: solid gray;
            border-width: 1px 0px 0px 1px;
            margin-bottom: 10px;
        }

        .osha_table td {
            height: 30px;
            font-size: 12px;
            text-align: right;
            border: solid gray;
            border-width: 0px 1px 1px 0px;
        }
    </style>
</head>
<body>
<div class="menu-right" style="">
    <a class="button icon-save" id="btn_save">
        保存
    </a>
    <a class="button icon-refer" id="">
        提交
    </a>
    <%--<a class="button icon-export">
        导入
    </a>--%>
</div>
<form id="infoForm" method="post">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle" style="">
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">部门名称:</label>
                    <input id="dept" class="easyui-textbox" style="width: 240px;" required="true"
                           editable="false" validType="validSelect" name="deptId">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">年度:</label>
                    <input id="reportYearth" class="easyui-textbox" style="width: 240px;" required="true"
                           editable="false" validType="validSelect" name="reportYearth">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">月份:</label>
                    <input id="reportMonth" class="easyui-textbox" style="width: 240px;" required="true"
                           editable="false" validType="validSelect" name="reportMonth">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both;height: 55px;">
                <div class="form_one fotm-textarea">
                    <label class="lable-style">备注:</label>
                    <input class="easyui-textbox" data-options="multiline:true" style="height: 50px;width: 598px;"
                           name="remarks"/>
                </div>
            </div>
            <table class="osha_table" style="" cellpadding="3" cellspacing="0">
                <tr>
                    <td rowspan="3">1级(可能导致死亡,引起人员疏散)</td>
                    <td>
                        次数
                    </td>
                    <td style="text-align: left;">
                        <input id="firstGradeNum" name="firstGradeNum" class="easyui-numberspinner" style="width:200px"
                               value="0" data-options="min:0" required>
                    </td>
                    <td rowspan="3">2级(>=10吨)</td>
                    <td>
                        次数
                    </td>
                    <td style="text-align: left;">
                        <input id="secondGradeNum" name="secondGradeNum" class="easyui-numberspinner"
                               style="width:200px" value="0" data-options="min:0" required>
                    </td>
                    <td rowspan="3">合计</td>
                    <td>
                        次数
                    </td>
                    <td style="text-align: left;">
                        <input id="totalNum" class="easyui-numberspinner" style="width:200px" value="0"
                               data-options="min:0" readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        泄露量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="firstGradeLeakage" name="firstGradeLeakage" class="easyui-numberspinner"
                               style="width:200px" value="0"
                               data-options="min:0,precision:2" required>
                    </td>
                    <td>
                        泄露量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="secondGradeLeakage" name="secondGradeLeakage" class="easyui-numberspinner"
                               style="width:200px" value="0"
                               data-options="min:0,precision:2" required>
                    </td>
                    <td>
                        泄露量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="totalLeakage" class="easyui-numberspinner" style="width:200px" value="0"
                               data-options="min:0,precision:2" readonly>
                    </td>
                </tr>
                <tr>
                    <td>
                        回收量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="firstGradeRecycle" name="firstGradeRecycle" class="easyui-numberspinner"
                               style="width:200px" value="0"
                               data-options="min:0,precision:2" required>
                    </td>
                    <td>
                        回收量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="secondGradeRecycle" name="secondGradeRecycle" class="easyui-numberspinner"
                               style="width:200px" value="0"
                               data-options="min:0,precision:2" required>
                    </td>
                    <td>
                        回收量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="totalRecycle" class="easyui-numberspinner" style="width:200px" value="0"
                               data-options="min:0,precision:2" readonly>
                    </td>
                </tr>
                <tr>
                    <td rowspan="3">3级(1～10吨)</td>
                    <td>
                        次数
                    </td>
                    <td style="text-align: left;">
                        <input id="thirdGradeNum" name="thirdGradeNum" class="easyui-numberspinner" style="width:200px"
                               value="0" data-options="min:0" required>
                    </td>
                    <td rowspan="3">4级(100千克～1吨)</td>
                    <td>
                        次数
                    </td>
                    <td style="text-align: left;">
                        <input id="fourthGradeNum" name="fourthGradeNum" class="easyui-numberspinner"
                               style="width:200px" value="0" data-options="min:0" required>
                    </td>
                </tr>
                <tr>
                    <td>
                        泄露量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="thirdGradeLeakage" name="thirdGradeLeakage" class="easyui-numberspinner"
                               style="width:200px" value="0"
                               data-options="min:0,precision:2" required>
                    </td>
                    <td>
                        泄露量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="fourthGradeLeakage" name="fourthGradeLeakage" class="easyui-numberspinner"
                               style="width:200px" value="0"
                               data-options="min:0,precision:2" required>
                    </td>
                </tr>
                <tr>
                    <td>
                        回收量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="thirdGradeRecycle" name="thirdGradeRecycle" class="easyui-numberspinner"
                               style="width:200px" value="0"
                               data-options="min:0,precision:2" required>
                    </td>
                    <td>
                        回收量(吨)
                    </td>
                    <td style="text-align: left;">
                        <input id="fourthGradeRecycle" name="fourthGradeRecycle" class="easyui-numberspinner"
                               style="width:200px" value="0"
                               data-options="min:0,precision:2" required>
                    </td>
                </tr>
            </table>
        </div>
    </div>


</form>
</body>
</html>
